<%@ page import="org.icress.fusion.ws.OutBound" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
    <title><g:message code="ws.outBound.show" default="Show OutBound" /></title>
</head>
<body>
   <div class="body">
        <h1><g:message code="ws.outBound.show" default="Show OutBound" /></h1>
        <g:if test="${flash.message}">
        <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
        </g:if>
        <g:form>
            <g:hiddenField name="id" value="${outBoundInstance?.id}" />
            <div class="dialog">
                <g:render template="/ws/outBound/show" />
            </div>
            <div class="buttons">
                <shiro:hasPermission permission="outBound:edit">
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'edit', 'default': 'Edit')}" /></span>
                </shiro:hasPermission>
                <shiro:hasPermission permission="outBound:delete">
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'delete', 'default': 'Delete')}" 
                        onclick="return confirm('${message(code: 'delete.confirm', 'default': 'Are you sure?')}');" />
                    </span>
                </shiro:hasPermission>
                <shiro:hasPermission permission="outBound:resurrect">
                    <span class="button"><g:actionSubmit class="edit" action="resurrect" value="${message(code: 'resurrect', 'default': 'Resurrect')}" /></span>
                </shiro:hasPermission>
                <shiro:hasPermission permission="outBound:reinit">
                    <span class="button"><g:actionSubmit class="edit" action="reinit" value="${message(code: 'reinit', 'default': 'Reinit')}" /></span>
                </shiro:hasPermission>                
            </div>
        </g:form>
    </div>
</body>
</html>
